package com.lizhen.core.keyword.outer;

import com.lizhen.core.keyword.Protected;

public class OuterProtected {
    public static void outerProtected() {
        Protected p = new Protected();
//        编译出错
//        p.name = "123";

//        System.out.println(p.name);
    }

    public static void main(String[] args) {
        OuterProtected.outerProtected();
    }

}
